const  routes=[
    {
        path:"/login",
        component:()=>import("@/views/Login/index.vue"),
        name:"login"
    },
    {
        path:"/home",
        component:()=>import("@/views/Home/index.vue"),
        name:"home"
    },
    {
        path:"/404",
        component:()=>import("@/views/404/index.vue"),
        name:"404"
    },
    {
        path:"/",
        redirect:"/home"
    }
];

export default routes 